import fetch from '@/utils/request'
// import { getToken } from '@/utils/auth'
import { addParams } from './common.js'

// 查询订单列表  --sha
export function queryOrderList(params, data) {
  const uploadParams = addParams(params)
  return fetch({
    baseURL: '',
    url: '/api/allinpay.bidding.aggregation/queryBiddingOrderPage',
    method: 'post',
    data: data,
    params: uploadParams
  })
}

// 产品编号
export function queryProductCodes(params, data) {
  const uploadParams = addParams(params)
  return fetch({
    baseURL: '',
    url: '/api/allinpay.product.details/product/details/queryBaseProduct',
    method: 'post',
    data: { 'mark': 'XED_BDL' },
    params: uploadParams
  })
}

// 查询订单列表详情  --gy
export function queryOrderdetails(params,data) {
  const uploadParams = addParams(params)
  return fetch({
    baseURL: '',
    url: '/api/allinpay.bidding.aggregation/getBidOrderById',
    method: 'post',
    data:data,
    params: uploadParams
  })
}








